package org.lanqiao.ssm.facede.auth.service;

import org.lanqiao.ssm.common.core.service.BaseServiceI;
import org.lanqiao.ssm.facede.auth.model.User;

import com.github.pagehelper.PageInfo;

public interface UserServiceI extends BaseServiceI<User, String> {
	public User login(User u);

	public User findUserByLoginName(String loginName);

	public PageInfo<User> findUserAndRoles(User user,int page,int pageShow);

	public int edit(User user);

}
